package  com.dfec.water.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dfec.common.utils.AjaxResult;
import com.dfec.framework.mybatis.core.page.PageParam;
import com.dfec.framework.mybatis.core.page.PageUtils;
import com.dfec.water.entity.YdbDeviceTypeEntity;
import java.util.List;


/**
 * 设备类别Service接口
 *
 * @author df
 * @date Fri Jan 10 15:02:12 CST 2025
 */
public interface YdbDeviceTypeService  extends IService<YdbDeviceTypeEntity>  {

    /**
     * 分页查询
     * @param pageParam 入参
     * @return PageUtils
     * @author df
     * @date Fri Jan 10 15:02:12 CST 2025
     */
    PageUtils queryPage(PageParam<YdbDeviceTypeEntity> pageParam);


    /**
     * 不带分页查询
     *
     * @param ydbDeviceTypeEntity 入参
     * @return List<YdbDeviceTypeEntity>
     * @author df
     * @date Fri Jan 10 15:02:12 CST 2025
     */
    List<YdbDeviceTypeEntity> listAll(YdbDeviceTypeEntity ydbDeviceTypeEntity);



    /**
     * 获取详细的观测数据
     * @param deviceId 设备id
     * @param deviceType 设备类别
     * @return
     */
    AjaxResult getDeviceData(Long deviceId, Integer deviceType,Integer pageNo, Integer pageSize);
}

